error handling in python functions

welcome to shbcf.ru